package com.wjc.train.business.repository;

import com.wjc.train.business.entity.Station;
import com.wjc.train.business.mapper.StationMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.business.req.StationQueryReq;
import com.wjc.train.business.resp.StationQueryResp;

/**
 * <p>
 * 车站表 仓储类
 * </p>
 *
 * @author Guessed
 * @since 2023-07-31
 */
@Repository
public class StationRepository extends ServiceImpl<StationMapper, Station> implements IService<Station>  {

   public IPage<StationQueryResp> queryList(IPage<StationQueryResp> page, StationQueryReq stationQueryReq) {
        return baseMapper.queryList(page,stationQueryReq);
    }
}